home *** CD-ROM | disk | FTP | other *** search
- Path: news.ccs.queensu.ca!news
- From: Wintermute <3mal5@qlink.queensu.ca>
- Newsgroups: comp.lang.c++
- Subject: Re: Anyone have any C++ programing challenges for me????
- Date: 6 Feb 1996 05:42:52 GMT
- Organization: System Infinity
- Message-ID: <4f6pos$c4m@knot.queensu.ca>
- References: <4f5rl3$jue@newsbf02.news.aol.com> <4f65sm$h3@ixnews2.ix.netcom.com>
- NNTP-Posting-Host: free1-slip204.tele.queensu.ca
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Macintosh; I; 68K)
- X-URL: news:4f65sm$h3@ixnews2.ix.netcom.com
-
- swampwiz@ix.netcom.com(Jean P. Laborde ) wrote:
- >In <4f5rl3$jue@newsbf02.news.aol.com> diemacdie@aol.com (Diemacdie)
- >writes:
- >>I'm looking for ideas for programs to work on. I am a high school
- >senior
- >>and I'm looking to learn as much as I can about c++ for next year.
-
- >Build classes for the following:
- >BigInt
- >BigReal
- >String
-
- On that note, why not try for classes that implement:
- o rationals (fractions, like 15/1 or 4/7 ... be sure to normalize
- them, so 2/4 becomes 1/2)
- o a whole class hierarchy of scalars, such as reals, naturals,
- integers, rationals, that are compatible: overload the operators, so
- adding a real to a natural returns a real, etc. (unless the real was 7.0
- or the like)
- o matrices (overload operators to perform matrix multiplication, etc.
- - a senior year algebra course will come in handy)
- o general use buffers or pipes
-
- --
- Wintermute <3mal5@qlink.queensu.ca> <http://qlink.queensu.ca/~3mal5/>
-
- "If I really knew how to write, I could write something that someone
- could read and it would kill them." - william s. burroughs
-
-
-